<template>
  <Table
    :columns="[]"
    a="1"
    :data-source="[]"
  >
    <template #search>
      <a-input
        v-model:value="test"
        placeholder="请输入搜索内容"
        prefix-icon="search"
        style="width: 200px;"
      />
    </template>
    <template #tools>
      <a-button type="primary" icon="plus">新增</a-button>
    </template>
  </Table>
</template>

<script lang="ts">
import Table from '@/components/base/Table/index.vue'
import { ref } from 'vue'
export default {
  name: 'Menu',
  inheritAttrs: false,
  components: { Table },
  setup () {
    const test = ref('menu')
    return {
      test
    }
  }
}
</script>
